package com.qinggeng.project.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qinggeng.framework.aspectj.lang.annotation.Excel;
import com.qinggeng.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 用户提现对象 user_withdraw
 *
 * @author qinggeng
 * @date 2020-06-30
 */
@Data
public class UserWithdraw extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 提现ID
     */
    private Long withdrawId;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;

    /**
     * 提现金额
     */
    @Excel(name = "提现金额")
    private BigDecimal price;

    /**
     * 提现微信账户
     */
    @Excel(name = "提现微信账户")
    private String openId;

    /**
     * 状态 10=待审核 20=审核通过
     */
    @Excel(name = "状态 10=待审核 20=审核通过")
    private String status;

    //配送員头像
    private String avatar;
    //昵称
    private String nickName;
    //联系电话
    private String phonenumber;

    public Long getWithdrawId() {
        return withdrawId;
    }

    public void setWithdrawId(Long withdrawId) {
        this.withdrawId = withdrawId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("withdrawId", getWithdrawId())
                .append("userId", getUserId())
                .append("price", getPrice())
                .append("openId", getOpenId())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
